package com.lichuang.dedao.ebook.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 电子书
 * </p>
 *
 * @author miaomiao
 * @since 2019-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("e_book")
@ApiModel(value = "EBook对象", description = "电子书")
public class EBook1 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "电子书id")
    @TableId(value = "e_book_id", type = IdType.AUTO)
    private Integer eBookId;

    @ApiModelProperty(value = "书名")
    private String name;

    @ApiModelProperty(value = "出版时间")
    private String cTime;

    @ApiModelProperty(value = "状态（0不可朗读，1.可读）")
    private Integer state;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "主编推荐语")
    private String recommended;

    @ApiModelProperty(value = "内容简介")
    private String content;

    @ApiModelProperty(value = "原价")
    private BigDecimal price;


    @ApiModelProperty(value = "分类id")
    private Integer cCategoryid;

}
